package sw6.visualschedule.extendedViews;

import sw6.visualschedule.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;


public class CustomEntry extends LinearLayout {

	private final transient TextView mTitle;
	private final transient TextView mSummary;
	
	public TextView getTitle() {
		return mTitle;
	}

	public TextView getSummary() {
		return mSummary;
	}
	
	public CustomEntry(final Context context) {
	   super(context);

	   final LayoutInflater layoutInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
	   layoutInflater.inflate(R.layout.customentry,this);
	   mTitle = (TextView)findViewById(R.id.custom_title);
	   mSummary = (TextView)findViewById(R.id.custom_summary);
	}
}
